package com.ruicar.afs.cloud.manage.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.manage.common.entity.ManagePenaltyExempt;
import com.ruicar.afs.cloud.manage.penaltyexempt.condition.ManagePenaltyExemptCondition;

/**
 * @author: Lee
 * @date 2020-05-30 04:44:59
 * @description
 */
public interface ManagePenaltyExemptService extends IService<ManagePenaltyExempt> {

    /**
     * 保存单笔罚息
     * @param managePenaltyExempt
     * @author: xudongdong
     */
    void savePenaltyExempt(ManagePenaltyExemptCondition managePenaltyExempt);

    /**
     * 提交单笔罚息业务信息
     * @param managePenaltyExempt
     * @author: xudongdong
     */
    void submitPenaltyExempt(ManagePenaltyExemptCondition managePenaltyExempt);

    /**
     * 流程审批操作
     * @param managePenaltyExempt
     * @author: xudongdong
     */
    Boolean approvePenaltyExempt(ManagePenaltyExemptCondition managePenaltyExempt);

    /**
     * 豁免罚息列表查询
     * @param condition
     * @author: xudongdong
     */
    IPage getPenaltyExemptList(Page page, ManagePenaltyExemptCondition condition);
}
